package com.ocean.product.domain;

import com.ocean.common.annotation.Excel;
import com.ocean.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;

/**
 * 文档下载,新闻,法规对象 t_s_document
 *
 * @author ocean
 * @date 2023-02-06
 */
public class TSDocument extends TSAttachment
{
    private static final long serialVersionUID = 1L;

    /** 状态：0未发布，1已发布 */
    @Excel(name = "状态：0未发布，1已发布")
    private Integer documentstate;

    /** 文档标题 */
    @Excel(name = "文档标题")
    private String documenttitle;

    /** 焦点图导航 */
    @Excel(name = "焦点图导航")
    private String pictureindex;

    /** 是否首页显示 */
    @Excel(name = "是否首页显示")
    private Integer showhome;

    /**  */
    private String id;

    /**  */
    @Excel(name = "")
    private Long typeid;
    private String typecode;

    private MultipartFile file;
    private String filePath;

    public void setDocumentstate(Integer documentstate)
    {
        this.documentstate = documentstate;
    }

    public Integer getDocumentstate()
    {
        return documentstate;
    }
    public void setDocumenttitle(String documenttitle)
    {
        this.documenttitle = documenttitle;
    }

    public String getDocumenttitle()
    {
        return documenttitle;
    }
    public void setPictureindex(String pictureindex)
    {
        this.pictureindex = pictureindex;
    }

    public String getPictureindex()
    {
        return pictureindex;
    }
    public void setShowhome(Integer showhome)
    {
        this.showhome = showhome;
    }

    public Integer getShowhome()
    {
        return showhome;
    }
    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setTypeid(Long typeid)
    {
        this.typeid = typeid;
    }

    public Long getTypeid()
    {
        return typeid;
    }

    public String getTypecode() {
        return typecode;
    }

    public void setTypecode(String typecode) {
        this.typecode = typecode;
    }

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    @Override
    public String toString() {
        return "TSDocument{" +
                "documentstate=" + documentstate +
                ", documenttitle='" + documenttitle + '\'' +
                ", pictureindex='" + pictureindex + '\'' +
                ", showhome=" + showhome +
                ", id='" + id + '\'' +
                ", typeid=" + typeid +
                ", typecode='" + typecode + '\'' +
                ", file=" + file +
                ", filePath='" + filePath + '\'' +
                '}';
    }


}
